package com.example.designer.decorator.decor;

import com.example.designer.decorator.Drinks;

/**
 * 加糖
 */
public class Sugar extends Condiments{

    public Sugar(Drinks drinks) {
        super(drinks);
    }

    @Override
    public String describe() {
        return super.describe() + ",加糖";
    }

    @Override
    public Integer price() {
        return super.price() + 2;
    }
}
